package com.lanqiao.companymanage.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lanqiao.companymanage.entity.Cost;
import com.lanqiao.companymanage.mapper.CostMessMapper;
import com.lanqiao.companymanage.service.CompanyCostService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 何小棍
 * 公司费用查询
 */
@Service
public class CompanyCostServiceImpl implements CompanyCostService {

    @Autowired
    CostMessMapper costMessDao;

    /**
     * 公司费用分页查询
     * @param costPage
     * @return
     */
    @Override
    public Page<Cost> getCompanyCost(Page<Cost> costPage) {
        return costMessDao.selectPage(costPage,null);
    }
}
